package com.learn.annotation;

import org.junit.runner.RunWith;
import org.springframework.stereotype.Service;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

/**
 * @author chenxin
 * @time 2016-12-29-17:31
 */
@Service
public class AnnotationTest {

    @TransferType(value = "B")
    @Foo
    public Object testMethod(){
        System.out.println("执行method");
//        throw new MyExcep("my");
        return new Object();
    }
}
